package edu.nf.ch06.container.test.web;

import edu.nf.ch06.container.Component;
import edu.nf.ch06.container.Inject;
import edu.nf.ch06.container.test.service.UserService;

/**
 * @author CSY
 * @date 2025 - 04 - 16
 */
@Component("userController")
public class UserController {
    @Inject("userService")
    private UserService userService;

    public void add(){
        userService.save();
    }
}
